package com.lngsyz.ywtb.biz.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lngsyz.ywtb.entity.source2.TCompanyPrice;
import com.lngsyz.ywtb.mapper.source2.TCompanyPriceMapper;

@Service
public class TCompanyPriceService {
    
	@Autowired
	TCompanyPriceMapper tCompanyPriceMapper;
	
    public List<TCompanyPrice> findByCompanyId(String companyId, String sealMedia){
    	Map<String, Object> param = new HashMap<String, Object>();
		param.put("companyId", companyId);
		param.put("sealMedia", sealMedia);
    	List<TCompanyPrice> lists = tCompanyPriceMapper.findByCondition(param);
    	return lists;
    }
}
